package databeans;

/*
 * Schema for Survey Table
 * 
 * sid : Primary Key (survey id)
 * userid : Foreign Key referenced from User Table
 * title : Title of survey
 * mailinglist : name of Mailing list associated with this survey, Foreign Key from MailingList Table
 * sent : Whether this survey is sent to respondents 
 */

public class Survey {
	
	private int sid;
	private String userid;
	private String title;
	private String mailinglist;
	private int sent;

	public Survey(int sid) {
		this.sid = sid;
	}
	
	public int getSid() {
		return sid;
	}
	public String getUserid() {
		return userid;
	}
	public String getTitle() {
		return title;
	}
	public String getMailinglist() {
		return mailinglist;
	}
	public int getSent() {
		return sent;
	}
	public void setUserid(String userid) {
		this.userid = userid;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public void setMailinglist(String mailinglist) {
		this.mailinglist = mailinglist;
	}
	public void setSent(int sent) {
		this.sent = sent;
	}
}
